package com.yunfeng.supercall.manager;

import java.util.ArrayList;
import java.util.List;

public class ManagerBaseIface<T> {

	protected List<T> mList;

	public void saveList(List<T> list) {
		mList = list;
	}

	public List<T> getList() {
		if (mList == null) {
			mList = new ArrayList<T>();
		}
		return mList;
	}

	public void destory() {
		clear();
	}

	public void clear() {
		mList.clear();
	}

}
